package com.hs.panghu.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Goods {
    private Integer goodsId;
    private String goodsName;
    private String goodsImage;
    private Integer goodsPresentPrice;
    private  String shopId;

    private Integer goodsStatus;
    private String shopCategoryId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private String goodsUnit;
    private String goodsCartCount;
    private String goodsShopName;
    private Integer goodsSalesVolume;


    public Goods() {
    }

    public Goods(Integer goodsId, String goodsName, String goodsImage, Integer goodsPresentPrice, String shopId, Integer goodsStatus, String shopCategoryId, Date addTime, String goodsUnit, String goodsCartCount, String goodsShopName, Integer goodsSalesVolume) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImage = goodsImage;
        this.goodsPresentPrice = goodsPresentPrice;
        this.shopId = shopId;
        this.goodsStatus = goodsStatus;
        this.shopCategoryId = shopCategoryId;
        this.addTime = addTime;
        this.goodsUnit = goodsUnit;
        this.goodsCartCount = goodsCartCount;
        this.goodsShopName = goodsShopName;
        this.goodsSalesVolume = goodsSalesVolume;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return goodsName
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置
     * @param goodsName
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取
     * @return goodsImage
     */
    public String getGoodsImage() {
        return goodsImage;
    }

    /**
     * 设置
     * @param goodsImage
     */
    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    /**
     * 获取
     * @return goodsPresentPrice
     */
    public Integer getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    /**
     * 设置
     * @param goodsPresentPrice
     */
    public void setGoodsPresentPrice(Integer goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    /**
     * 获取
     * @return shopId
     */
    public String getShopId() {
        return shopId;
    }

    /**
     * 设置
     * @param shopId
     */
    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取
     * @return goodsStatus
     */
    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    /**
     * 设置
     * @param goodsStatus
     */
    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    /**
     * 获取
     * @return shopCategoryId
     */
    public String getShopCategoryId() {
        return shopCategoryId;
    }

    /**
     * 设置
     * @param shopCategoryId
     */
    public void setShopCategoryId(String shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    /**
     * 获取
     * @return addTime
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置
     * @param addTime
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取
     * @return goodsUnit
     */
    public String getGoodsUnit() {
        return goodsUnit;
    }

    /**
     * 设置
     * @param goodsUnit
     */
    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    /**
     * 获取
     * @return goodsCartCount
     */
    public String getGoodsCartCount() {
        return goodsCartCount;
    }

    /**
     * 设置
     * @param goodsCartCount
     */
    public void setGoodsCartCount(String goodsCartCount) {
        this.goodsCartCount = goodsCartCount;
    }

    /**
     * 获取
     * @return goodsShopName
     */
    public String getGoodsShopName() {
        return goodsShopName;
    }

    /**
     * 设置
     * @param goodsShopName
     */
    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    /**
     * 获取
     * @return goodsSalesVolume
     */
    public Integer getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    /**
     * 设置
     * @param goodsSalesVolume
     */
    public void setGoodsSalesVolume(Integer goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public String toString() {
        return "Goods{goodsId = " + goodsId + ", goodsName = " + goodsName + ", goodsImage = " + goodsImage + ", goodsPresentPrice = " + goodsPresentPrice + ", shopId = " + shopId + ", goodsStatus = " + goodsStatus + ", shopCategoryId = " + shopCategoryId + ", addTime = " + addTime + ", goodsUnit = " + goodsUnit + ", goodsCartCount = " + goodsCartCount + ", goodsShopName = " + goodsShopName + ", goodsSalesVolume = " + goodsSalesVolume + "}";
    }
}
